﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
using Stylet;

namespace ImgConventICO.Models
{
    public  class DataInfoModel: PropertyChangedBase
    {
        private int _id;
        private string _name;
        private string _icon;
        private string _path;



        public int Id
        {
            get { return _id; }
            set { SetAndNotify(ref _id, value); }
        }

        public string Name
        {
            get { return _name; }
            set { SetAndNotify(ref _name, value); }
        }
        public string Icon
        {
            get { return _icon; }
            set { SetAndNotify(ref _icon, value); }
        }

        ObservableCollection<DataInfoModel> _dataList = new ObservableCollection<DataInfoModel>();
        public ObservableCollection<DataInfoModel> DataList
        {
            get { return _dataList; }
            set { _dataList = value; }
        }

        public string Path
        {
            get { return _path; }
            set { SetAndNotify(ref _path, value); }
        }

    }
}
